import request from '@/utils/request'

//获取员工详情数据
export const getStaffInfo =  query =>{
  return request({
    url:'/oa/staff/staff_info',
    method: 'get',
    params: query
  })
}

//修改用户信息
export const editStaffInfo = data => {
  return request({
    url:'/oa/staff/staff_edit',
    method: 'post',
    data
  })
}

//批量删除用户
export const batchDelStaff = data => {
  return request({
    url:'/oa/staff/batch_del',
    method: 'post',
    data
  })
}

